.class Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;
.super Lcom/nemustech/tiffany/world/TFPlaceHolder;
.source "ElementWorkspaceSwitcher.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceSwitcher;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "workspaceSwitcherHolder"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ElementWorkspaceSwitcher;Z)V
    .locals 0
    .parameter
    .parameter "isTerminal"

    .prologue
    .line 58
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    .line 59
    invoke-direct {p0, p2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>(Z)V

    .line 60
    return-void
.end method


# virtual methods
.method protected onSetDrawOrder(Landroid/util/SparseIntArray;I)V
    .locals 4
    .parameter "drawArray"
    .parameter "modelIndex"

    .prologue
    .line 64
    invoke-virtual {p1}, Landroid/util/SparseIntArray;->size()I

    move-result v2

    .line 65
    .local v2, size:I
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v3}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$000(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)I

    move-result v3

    if-ltz v3, :cond_3

    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v3}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$000(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)I

    move-result v3

    if-ge v3, v2, :cond_3

    .line 67
    const/4 v0, 0x0

    .line 69
    .local v0, entry:I
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    const/4 v3, 0x1

    sub-int v3, v2, v3

    if-ge v1, v3, :cond_1

    .line 70
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v3}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$000(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)I

    move-result v3

    if-ne v0, v3, :cond_0

    add-int/lit8 v0, v0, 0x1

    .line 71
    :cond_0
    invoke-virtual {p1, v1, v0}, Landroid/util/SparseIntArray;->put(II)V

    .line 72
    add-int/lit8 v0, v0, 0x1

    .line 69
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 74
    :cond_1
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$workspaceSwitcherHolder;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v3}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$000(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)I

    move-result v3

    invoke-virtual {p1, v1, v3}, Landroid/util/SparseIntArray;->put(II)V

    .line 81
    .end local v0           #entry:I
    :cond_2
    return-void

    .line 77
    .end local v1           #i:I
    :cond_3
    const/4 v1, 0x0

    .restart local v1       #i:I
    :goto_1
    if-ge v1, v2, :cond_2

    .line 78
    invoke-virtual {p1, v1, v1}, Landroid/util/SparseIntArray;->put(II)V

    .line 77
    add-int/lit8 v1, v1, 0x1

    goto :goto_1
.end method
